package it.ilgrv.demiurgo.persistence.tables.character;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Enumerated;
import javax.persistence.Id;


/**
 * The persistent class for the characterStatusType database table.
 * 
 */
@Entity
public class CharacterStatusType extends it.ilgrv.demiurgo.persistence.GenericTable implements Serializable {
	private static final long serialVersionUID = 1L;

	public static enum CharacterStatusTypeEnum {
		unused,
		justCreated,
		alive,
		dead,
		sacrificed
	}

	@Id
	// @GeneratedValue(strategy=GenerationType.IDENTITY)
	@Enumerated
	private CharacterStatusTypeEnum	id;

	private String description;

	private String name;

	private int version;

    public CharacterStatusType() {
    }

	public CharacterStatusTypeEnum getId() {
		return this.id;
	}

	public void setId(CharacterStatusTypeEnum id) {
		this.id = id;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getVersion() {
		return this.version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

}